package com.cg.dto;

import lombok.Data;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class UserDTO implements Serializable {
    private Long id;
    private String username;
    
    @JsonIgnore  // 密码字段不返回给前端
    private String password;
    
    private String nickName;
    private String email;
    private Integer age;
    private String sex;
    private String address;
    private String targetPosition;
    private Integer status;  // 1-正常，0-禁用
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
